package org.dtrd.modules.common.entity.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dtrd.common.api.dto.BasePageRequest;

/**
 * @Author: QR
 * @Date: 2021/9/30-13:38
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel("患者分页请求对象")
@Data
public class PatientPageRequest extends BasePageRequest {

    @ApiModelProperty(value = "医生ID", required = false)
    private Integer doctorId;

    @ApiModelProperty(value = "分组id, 查询未分组患者groupId=0", required = true)
    private Integer groupId;

    @ApiModelProperty(value = "关键字")
    private String keyWord;

    @ApiModelProperty(value = "复诊状态, 0-未预约, 1-待复诊, 2-已复诊, 3-未复诊, 4-复诊中")
    private Integer status;

    @ApiModelProperty("名字")
    private String patientName;

    @ApiModelProperty("手机号码")
    private String patientMobile;

    @ApiModelProperty(value = "标签id， 查询标签的id通过逗号 , 拼接")
    private String tagIds;
}
